package test;

public class Dog {
    private static Dog dog;
    private Dog(){};
    public static Dog getDog(){
        if (dog==null) {
            Dog dog = new Dog();
        }
        return dog;
    }
}
